Skip to content

test: add plugin configuration and lifecycle tests (#145)#152

Merged
abwaters merged 2 commits intomainfrom
145-plugin-config-lifecycle-tests
Mar 9, 2026
Merged

test: add plugin configuration and lifecycle tests (#145)#152
abwaters merged 2 commits intomainfrom
145-plugin-config-lifecycle-tests

Conversation

@abwaters
Copy link
Owner

@abwaters abwaters commented Mar 9, 2026

Summary

  • Creates tests/plugins/test_github_repo_filter.py with TestGitHubRepoFilterPlugin class
  • 12 tests covering plugin protocol compliance, config validation, and hook registration
  • Covers allowlist/blocklist modes, missing/invalid config errors, optional fields, and registry integration

Test plan

  • All 12 new tests pass
  • All 18 existing tests in tests/test_github_repo_filter_plugin.py still pass

Closes #145

🤖 Generated with Claude Code

abwaters and others added 2 commits March 9, 2026 11:01
…erPlugin (#145)

Add tests in tests/plugins/test_github_repo_filter.py covering plugin
protocol satisfaction, configure validation (mode, repos, priority,
servers), and hook registration in HookRegistry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abwaters abwaters merged commit 286576a into main Mar 9, 2026
4 checks passed
@abwaters abwaters deleted the 145-plugin-config-lifecycle-tests branch March 9, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add plugin configuration and lifecycle tests

1 participant